package com.example.film.entity;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

@ApiModel("电影评论")
public class FilmComment {

    @ApiModelProperty("用户名")
    private String userName;

    @ApiModelProperty("用户头像")
    private String imag;

    @ApiModelProperty("评论内容")
    private String comment;

    @ApiModelProperty("评论时间")
    private String commentDate;

    @ApiModelProperty("点赞数")
    private Integer likeNumber;

    @ApiModelProperty("电影排名")
    private Integer filmRank;

    public String getUserName() {
        return userName;
    }

    public void setUserName(String userName) {
        this.userName = userName;
    }

    public String getImag() {
        return imag;
    }

    public void setImag(String imag) {
        this.imag = imag;
    }

    public String getComment() {
        return comment;
    }

    public void setComment(String comment) {
        this.comment = comment;
    }

    public String getCommentDate() {
        return commentDate;
    }

    public void setCommentDate(String commentDate) {
        this.commentDate = commentDate;
    }

    public Integer getLikeNumber() {
        return likeNumber;
    }

    public void setLikeNumber(Integer likeNumber) {
        this.likeNumber = likeNumber;
    }

    public Integer getFilmRank() {
        return filmRank;
    }

    public void setFilmRank(Integer filmRank) {
        this.filmRank = filmRank;
    }

    @Override
    public String toString() {
        return "FilmComment{" +
                "userName='" + userName + '\'' +
                ", imag='" + imag + '\'' +
                ", comment='" + comment + '\'' +
                ", commentDate='" + commentDate + '\'' +
                ", likeNumber=" + likeNumber +
                ", filmRank=" + filmRank +
                '}';
    }
}
